import Vue from 'vue'
import VueRouter from 'vue-router'
import chat from '../pages/chat.vue'
import chat2 from '../pages/chat2.vue'
Vue.use(VueRouter)

const routes = [{
		path: '/',
		name: 'chat2',
		component: chat2
	}
]

const router = new VueRouter({
	//去掉路由#
	mode: 'hash',
	routes
})

export default router